﻿@* To use Razor views, see Naked Objects Manual (search for 'Razor') *@

@model ConcurrencyException
@{
    
    Layout = "Site.WithServices.cshtml";
}
@section title {@MvcUi.ConcurrencyErrorTitle}

@Html.History()
<div class="error">
    <img alt="error" src="/Content/concurrency-error.png"/>
	<h2>@MvcUi.ConcurrencyErrorTitle</h2>
	<p>@Model.Message</p>
	@if (Model.SourceNakedObject != null)
	{
		<h3>@MvcUi.ConcurrencyErrorObject:</h3>
		@Html.Object(Html.ObjectTitle(Model.SourceNakedObject.Object).ToString(), IdHelper.ViewAction, Model.SourceNakedObject.Object)
	}
</div>
